<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page import="com.bo.*"%>
<%
 String contextPath = request.getContextPath();
 User user = null;
 if(session.getAttribute("USER")!=null){
	 user = (User)session.getAttribute("USER");
 }
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <div id="topdialog"></div>
    <div id="toppagemasker"></div>
	<div id="hdw">
		<div id="hd">
		<div id="logo"><a href="<%=contextPath%>/index.jsp" class="link">
		 <img src="<%=contextPath%>/imgs/logo.jpg" width=263 height=58 /></a>
		</div>
		<div class="guides">
		<div class="city">
		<h2>石家庄</h2>
		</div>
		<div id="guides-city-change" class="change">切换城市</div>
		<div id="guides-city-list" class="city-list">
		<ul>
			<li><a href="http://www.wanletuan.com/select/quanguo/">全国</a></li>
			<li class='current'><a
				href="http://www.wanletuan.com/select/shijiazhuang/">石家庄</a></li>
			<li><a href="http://www.wanletuan.com/select/hangzhou/">杭州</a></li>
			<li><a href="http://www.wanletuan.com/select/taizhou/">台州</a></li>
			<li><a href="http://www.wanletuan.com/select/wuhan/">武汉</a></li>
			<li><a href="http://www.wanletuan.com/select/beijing/">北京</a></li>
			<li><a href="http://www.wanletuan.com/select/shanghai/">上海</a></li>
			<li><a href="http://www.wanletuan.com/select/tianjin/">天津</a></li>
			<li><a href="http://www.wanletuan.com/select/tuiguang/">推广</a></li>
		</ul>
		<div class="other"><a href="http://www.wanletuan.com/new/">其他城市？</a></div>
		</div>
            <a
			title="点击进入我的购物车" href="<%=contextPath%>/shopping/shoppingcart.jsp">
			<img src="<%=contextPath%>/imgs/mycart.jpg"/></a>
	    </div>
		
		<div id="header-subscribe-body" class="subscribe">
	 	<form method="post" id="header-subscribe-form">
	 	    <label for="header-subscribe-email" class="text">想知道特優家团明天的团购是什么吗？</label> 
			<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.sethomepage('http://www.wanletuan.com/');">我要把特優家团设为首页
			</a>
		</form> 
		</div>
		<div id="header-subscribe-auto" class="email-auto"></div>
		<ul class="nav cf">
			<li><a href="<%=contextPath%>/productList!listTodayProducts.action">今日团购</a></li>
			<li><a href="<%=contextPath%>/productList!listPreviousProducts.action">往期团购</a></li>
			<li><a href="<%=contextPath%>/template/teyoujiaplay.jsp">玩转玩乐团</a></li>
			<li><a href="<%=contextPath%>/template/normalquestion.jsp">常见问题</a></li>
		</ul>
		<div class="vcoupon" style="display: ">» <a id="verify-coupon-id"
			href="javascript:;"><span id="verify-name">玩乐证</span>验证及消费登记</a></div>
		<div class="logins">
		<%if(user==null){%>
		<ul class="links">
			<li class="login"><a href="<%=contextPath%>/account/login.jsp">登录</a></li>
			<li class="signup"><a href="<%=contextPath%>/account/register.jsp">注册</a></li>
		</ul>
		<div class="line "></div>
		<div class="refer"><a href="http://www.wanletuan.com/account/referrals/">邀请好友购买返 5 元</a></div>
		<%}%>
		<%if(user!=null){%>
		<!-- 登陆后-->
		<ul class="links">
         <li class="username">欢迎您，<%=user.getUserName()%>！</li>
         <li class="account"><a href="http://www.wanletuan.com/account/settings/" id="myaccount" class="account">我的玩乐团</a></li>
         <li class="logout"><a href="<%=contextPath%>/logout.action">退出</a></li>
        </ul>
        <div class="line islogin"></div>
        <div class="refer"> <a href="http://www.wanletuan.com/account/referrals/" >邀请好友购买返 5 元</a> </div>
		 <%}%>
		</div>
		</div>
	</div>
	<!-- 通栏广告 
	<div align="center">
	  <div style="height:20px; clear:both"></div> 
	    <a href="http://www.manzuo.com/shijiazhuang/index.htm" target="_blank"><img  src="http://www.wanletuan.com/UploadFile/images/tonglan-mw.jpg" /></a>
	  <div style="height:20px; clear:both"></div> 
	    <a href="http://www.wanletuan.com/deals/" target="_blank"><img  src="http://www.wanletuan.com/UploadFile/images/tonglan-34.jpg" /></a>
	</div> -->
</html>